namespace GGameFramework.Core.Pool
{
    
    /// <summary>
    /// 固定大小对象池策略
    /// </summary>
    public class FixedSizePoolingStrategy: IPoolingStrategy
    {
        public void HandlePoolSize(IObjectPool pool)
        {
            // 固定大小策略不需要特殊处理
        }
        
        public bool ShouldDestroyObject(IObjectPool pool, int currentCount)
        {
            return currentCount >= pool.Capacity;
        }
    }
}